-
Notifications
You must be signed in to change notification settings - Fork 9
chore(deps): update dependency eslint-plugin-react-hooks to v7 #1034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b9e50fe to
61479b7
Compare
7c16b2f to
23a4f0c
Compare
23a4f0c to
3fe7969
Compare
3fe7969 to
57e0f7c
Compare
733962a to
1e10133
Compare
1e10133 to
042d258
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
1d33724 to
09e3d02
Compare
|
@claude review this pr |
|
Claude finished @peppescg's task —— View job PR Review: eslint-plugin-react-hooks v7 UpgradeOverviewThis PR upgrades Assessment of Bugbot Concerns1. ❌ Bugbot Issue #1 is INVALID - Timeout cleanup in
|
This PR contains the following updates:
^6.0.0->^7.0.0Release Notes
facebook/react (eslint-plugin-react-hooks)
v7.0.1Compare Source
useEffectEventvalues as JSX props to guard against accidental propagation. (#34820 by @jf-eirinha)export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects. (#34949 by @karlhorky)configs.flatso theconfigsexport is always defined. (#34950 by @poteto)v7.0.0Compare Source
This release slims down presets to just 2 configurations (
recommendedandrecommended-latest), and all compiler rules are enabled by default.recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@poteto in #34757)Configuration
📅 Schedule: Branch creation - "after 01:00 and before 07:00 every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Note
Upgrade eslint-plugin-react-hooks to v7 and refactor components/hooks for rules compliance, improving state init, memoization, and UX around async flows and wizards.
eslint-plugin-react-hooksfrom^6to^7(lockfile updated; addhermes-parser).useEffect-based initializations with lazyuseState/useRef(e.g., quit confirmation, toast IDs).useWatchfromreact-hook-formfor live form values; adduseMemofor derived lists; wrap funcs inuseCallback.ui/tooltip.delayhelper for highlight/transition animations; track previous status viaref.useEffect; track last server.useWatchfor auth; minor className tweak; loading/submit flows unchanged.useWatchfor auth; keep readiness toasts after close.Math.randomduring render.useWatch.waitForElementToBeRemoved; assert final toasts and call ordering in registry install wizard.Written by Cursor Bugbot for commit 09e3d02. This will update automatically on new commits. Configure here.